﻿<?php 
$attributes = array('legend' => false, 'value' =>  $result['podpatky']);
$attributes2 = array('legend' => false, 'value' =>  $result['zapinani']);
echo $this->Form->create('Shoe',array('url' => 'http://databaze.fbmi.cvut.cz/havelvoj/CakePhp/index.php/shoes/edited/'.$id));
echo $this->Form->input('Nazev',array('value'=>$result['Nazev']));
echo "<br>";
echo $this->Form->input('barva', array('options' => $options, 'default' => $result['barva']));
echo "<br>";
echo $this->Form->radio('zapinani', $options4,  array('legend' => false, 'value' =>  "suchý zip"));
echo "<br>";
echo $this->Form->input('typ', array(
    'options' => $options2, 'default' => $result['typ']));
echo "<br>";
echo $this->Form->radio('podpatky', $options3,$attributes);

echo $this->Form->end('Editovat');

echo '<br><a href="http://databaze.fbmi.cvut.cz/havelvoj/CakePhp/index.php/shoes/">Zpět</a>';

?>